package com.itheima.work1121;

import java.util.HashMap;
import java.util.Map;

public class testclass {
    public static void main(String[] args) {
        Map<String,Map<String,String>> classes = new HashMap<>();
        // 初始化基础班信息
        Map<String, String> lowClass = new HashMap<>();
        lowClass.put("001", "李晨");
        lowClass.put("002", "范冰冰");
        classes.put("基础班", lowClass);
        //初始化就业班信息
        Map<String, String> heighClass = new HashMap<>();
        heighClass.put("001", "马云");
        heighClass.put("002", "马化腾");
        classes.put("就业班", heighClass);

        for (Map.Entry<String,Map<String,String>> entry : classes.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue());
        }

    }
}
